package Before826.pet;

public abstract class pet {
    private String name;
    private String age ;
    private   String kind;
    public  pet(String name) { this.name = name; }
    public abstract String bark(String bark) ;
    public String eat(){return  name+"正在吃";}

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getKind() {
        return kind;
    }

    public void setKind(String kind) {
        this.kind = kind;
    }

    public String sleep(){return  name+"在睡觉";}
}

